home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Samples / SampleCode / CustomAttribute / CustomAttributesShell.h < prev    next >
Encoding:
Text File  |  1995-11-11  |  1.4 KB  |  64 lines  |  [TEXT/MPCC]

  1. // Quickdraw 3D sample code
  2. //
  3. // Nick Thompson, AppleLink: DEVSUPPORT (devsupport@applelink.apple.com)
  4. //
  5. // ©1994-5 Apple Computer Inc., All Rights Reserved
  6.  
  7. #ifndef _SMALLSHELL_H_
  8. #define _SMALLSHELL_H_
  9.  
  10.     
  11. //-------------------------------------------------------------------------------------------
  12. //
  13. enum {
  14.     iUsePictPalette = 1
  15. } ;
  16.  
  17. //-------------------------------------------------------------------------------------------
  18. // globals - defined in SmallShell.c
  19. extern Boolean gQuitFlag ;
  20.  
  21.  
  22. //-------------------------------------------------------------------------------------------
  23. // constants - defined in SmallShell.c
  24. extern const RGBColor    kRGBBlack ;
  25. extern const RGBColor    kRGBWhite ;
  26.  
  27. // function prototypes
  28.  
  29.  
  30. WindowPtr     DoCreateBufferedWindow(    Rect *theRect, 
  31.                                     const Ptr theStorage, 
  32.                                     const CTabHandle theWindowCTab,
  33.                                     const short theDepth, 
  34.                                     const Str255 theTitle ) ;
  35. short         HiWrd(long aLong) ;
  36. short         LoWrd(long aLong) ;
  37.  
  38. // Menu Bar
  39.  
  40. #define Menu_Bar        400
  41.  
  42. // Menus
  43.  
  44. #define Apple_Menu        128
  45. #define File_Menu        129
  46. #define Settings_Menu    130
  47.  
  48. // Settings Items
  49. #define    OpenItem    1
  50. #define    QuitItem    2
  51.  
  52. // Settings Items
  53. #define    Scale1M        2
  54. #define    Scale10M    3
  55. #define    Scale100M    4
  56. #define    Scale1KM    5
  57. #define    Netscape    7
  58.  
  59. // Alerts
  60. #define    LargeObject_Alert        128
  61. #define    TooLargeObject_Alert    129
  62. #define    NoScale_Alert            130
  63. #define    Netscape_Alert            131
  64. #endif